import request from '@/utils/request'
export default {
  //查询个人信息
  getUserProfile(id) {
    return request({
      url: `/member/profile/getMemberInfo/`+id,
      method: 'get'
    })
  },
  //修改个人信息
  getUpProfile(member) {
    return request({
      url: `/member/profile/upMember`,
      method: 'post',
      data: member
    })
  },
  //修改头像上传阿里云
  upAva(file) {
    return request({
      url: `/member/uploadAva/avatar`,
      method: 'post',
      data: file
    })
  }

}
